{% extends "base.html" %}

{% block content %}
<form method="POST" action="{% if service.pk %}{% url posecco:service service.pk %}{% else %}{% url posecco:service 0 %}{% endif %}">
	{% csrf_token %} 
	{{ service_form.as_p }}
	<input type="submit" value="OK" class="button" />
</form>
{% endblock %}